<template>
  <div id="newDetHead">
    <div class="news-detail-headet df" style="justify-content: space-between">
      <div class="left df">
        <div>{{ headData.updatedAt || headData.update_time }}</div>
        <div style="margin: 0 40px">
          {{ headData.hits || headData.view_total }}次浏览
        </div>
        <div>来源：{{ headData.collegeName || headData.source }}</div>
      </div>
      <!-- <div class="right df curr">
        <div @click="handleFontSub">
          <img src="../../assets/images/fontsub.png" alt="" />
        </div>
        <div @click="handleFontAdd" style="margin: 0 20px">
          <img src="../../assets/images/fontAdd.png" alt="" />
        </div>
      </div> -->
    </div>
  </div>
</template>

<script setup>
const { headData } = defineProps({
  headData: {
    type: Object,
    default: () => {},
  },
});
</script>

<style lang="scss" scoped>
.news-detail-headet {
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  color: #999;
  font-size: 14px;
}
img {
  width: 24px;
  height: 24px;
}
</style>
